﻿using System;
using System.Collections.Generic;
using System.Data;

using System.Text;

namespace EZCRS.HCMS.Entity
{
    #region h_facilityclas
    /// <summary>
    /// This object represents the properties and methods of a h_facilityclas.
    /// </summary>
    public class HCRS_Facilityclass
    {
        private int? _id;
        private string _classname = String.Empty;
        private int? _classsort;
        private int? _languagetype;

        public HCRS_Facilityclass()
        {
        }

        public HCRS_Facilityclass(DataRow dr)
        {
            if (dr != null)
            {
                Id = Convert.ToInt32(dr["id"].ToString());
                classname = dr["classname"].ToString();
                classsort = Convert.ToInt32(dr["classsort"].ToString());
                languagetype = Convert.ToInt32(dr["languagetype"].ToString());
            }
        }

       
        

        #region Public Properties
        [DataFieldAttribute("id", "pk")]
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string classname
        {
            get { return _classname; }
            set { _classname = value; }
        }

        public int? classsort
        {
            get { return _classsort; }
            set { _classsort = value; }
        }

        public int? languagetype
        {
            get { return _languagetype; }
            set { _languagetype = value; }
        }
        #endregion

       
    }
    #endregion
}
